/*
 * Copyright (C) 2010-2010 MaoJian Wu
 *
 * Author:
 *	MaoJian Wu
 *
 * Source:
 *	
 *
 * This file is a part of zfspear library.
 *
 *
 */

#ifndef STREAM_ELEMENT_H
#define STREAM_ELEMENT_H
#include "xmpp_element.h"
class Jid;
class StreamElement : public XmppElement
{
Q_OBJECT
public:
    Q_INVOKABLE explicit StreamElement();
    Q_INVOKABLE const Jid* From() const;
    void SetFrom (const Jid& jid);
    const Jid* To() const;
    void SetTo(const Jid& jid);
    QString Id() const;
    void SetId(const QString& id);
    QString Xmllang() const;
    void SetXmllang(const QString& xmllang);
    QString Version() const;
    void SetVersion(const QString& version);
private:
    Jid *from_;
    Jid *to_;
    QString id_;
    QString xmlLang_;
    QString version_;

};

#endif // STREAM_ELEMENT_H
